package com.atjava.webspider.model;

import com.atjava.jox.annotation.ClassProps;
import com.atjava.jox.annotation.FieldProps;
import com.atjava.jox.annotation.FieldProps.ElementType;

@ClassProps(alias="replace")
public class Replace {

	@FieldProps(type=ElementType.ELEMENT)
	private String regexp;
	
	@FieldProps(type=ElementType.ELEMENT)
	private String replacement;
	
	@FieldProps
	private int groupNum;

	public String getRegexp() {
		return regexp;
	}

	public void setRegexp(String regexp) {
		this.regexp = regexp;
	}

	public String getReplacement() {
		return replacement;
	}

	public void setReplacement(String replacement) {
		this.replacement = replacement;
	}

	public int getGroupNum() {
		return groupNum;
	}

	public void setGroupNum(int groupNum) {
		this.groupNum = groupNum;
	}
}
